package com.ruoyi.mobile.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 病历记录附件对象 medical_record_pic
 * 
 * @author ruoyi
 * @date 2022-09-19
 */
public class MedicalRecordPic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Integer id;

    /** user.id */
    @Excel(name = "user.id")
    private Integer userId;

    /** medical_record.id */
    @Excel(name = "medical_record.id")
    private Integer recordId;

    /** 附件图片链接 */
    @Excel(name = "附件图片链接")
    private String url;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setRecordId(Integer recordId) 
    {
        this.recordId = recordId;
    }

    public Integer getRecordId() 
    {
        return recordId;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("recordId", getRecordId())
            .append("url", getUrl())
            .toString();
    }
}
